home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
allfiles
/
angry
/
scene3_4.dir
/
00004_Script_scene4Loop
< prev
next >
Wrap
Text File
|
1999-03-01
|
1KB
|
56 lines
--FRAME:scene4Loop
global rollSprite
global gScene4Done
on enterFrame
set rollSprite = the rollOver
case rollSprite of
8:
--lori--
if gScene4Done = #loriBook then
cursor [the memberNum of member "pointy", the memberNum of member "pointy_mask"]
go to frame "loriRaiseBook"
else
go to frame "LoriBook"
end if
5:
--kid--
cursor [the memberNum of member "pointy", the memberNum of member "pointy_mask"]
set the member of sprite 4 to member "hyperKidLOOP"
puppetSprite 7, TRUE --lori eyes
set the visible of sprite 7 = TRUE
set the member of sprite 7 to member "loriLook"
otherwise
cursor -1
end case
if NOT rollOver(5) then
set the member of sprite 4 to member "kid00"
puppetSprite 7, FALSE --lori eyes
set the visible of sprite 7 = FALSE
end if
if the lastEvent > 5 * 60 AND gScene4Done = [] then
-- startTimer
--
-- repeat while the timer < 20
set the member of sprite 4 to member "hyperKidLOOP"
puppetSprite 7, TRUE --lori eyes
set the visible of sprite 7 = TRUE
set the member of sprite 7 to member "loriLook"
-- end repeat
else
nothing
end if
end enterFrame
on exitFrame
go to the frame
end exitFrame